package com.ouc.openplatform.zykt.orderManage.service.impl;
import java.util.List;

import com.ouc.openplatform.pojo.EUDataGridResult;
import com.ouc.openplatform.zykt.orderManage.dto.DD_TestItem_DetailDto;
import com.ouc.openplatform.zykt.orderManage.model.DD_TestItem_Detail;
import com.ouc.openplatform.zykt.orderManage.service.DD_ClientTestItem_DetailService;
import com.ouc.openplatform.zykt.orderManage.service.DD_TestItem_DetailService;

public class DD_ClientTestItem_DetailServiceImpl implements DD_ClientTestItem_DetailService{
	
	private DD_TestItem_DetailService testItem_DetailService;
	
	

	public DD_TestItem_DetailService getTestItem_DetailService() {
		return testItem_DetailService;
	}

	public void setTestItem_DetailService(DD_TestItem_DetailService testItem_DetailService) {
		this.testItem_DetailService = testItem_DetailService;
	}

	@Override
	public int insertSelective(DD_TestItem_DetailDto record) {
		
		return testItem_DetailService.insertSelective(record.getTestItem_Detail());
	}

	@Override
	public Object findAllTestItem() {
		List<String> findAllTestItem = testItem_DetailService.findAllTestItem();
		return findAllTestItem;
	}
	//根据检验项名称查询所有的审核条目-----sxl
	@Override
	public List<DD_TestItem_Detail> findAllDetailByCondition(String itemName) {
		return testItem_DetailService.findAllDetailByCondition(itemName);
	}

	@Override
	public EUDataGridResult findDetailBySpecialNo(String specialNumber, int page, int rows) {
		return testItem_DetailService.findDetailBySpecialNo(specialNumber, page, rows);
	}


}
